﻿using System;
using System.Collections;
using System.Data;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;

namespace BrsdServer
{

    /// <summary>
    /// $codebehindclassname$ 的摘要说明
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    public class regValidate : IHttpHandler
    {
        MySqlDBHelper db = new MySqlDBHelper();
        userInfoBLL userBll = new userInfoBLL();
        public void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "text/plain";
            string userStr=context.Request["user"].ToString();
            context.Response.Write(userBll.GetUser(userStr));
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}
